package com.jishulianmeng.entity;

/**
 * MRoleAuthority entity. @author monologu
 */

public class MRoleAuthority implements java.io.Serializable {

	// Fields

	private long MRoleAuthorityId;
	private Role role;
	private Authority authority;

	// Constructors

	/** default constructor */
	public MRoleAuthority() {
	}

	/** full constructor */
	public MRoleAuthority(Role role, Authority authority) {
		this.role = role;
		this.authority = authority;
	}

	// Property accessors

	public long getMRoleAuthorityId() {
		return this.MRoleAuthorityId;
	}

	public void setMRoleAuthorityId(long MRoleAuthorityId) {
		this.MRoleAuthorityId = MRoleAuthorityId;
	}

	public Role getRole() {
		return this.role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public Authority getAuthority() {
		return this.authority;
	}

	public void setAuthority(Authority authority) {
		this.authority = authority;
	}

}